package com.lct.designpattern.builder;

import com.lct.designpattern.builder.interfaces.IBuildHuman;

public class Director {
    public Human createHumanByDirector(IBuildHuman buildHuman) {
        buildHuman.buildHead();
        buildHuman.buildBody();
        buildHuman.buildHand();
        buildHuman.buildFoot();
        return buildHuman.createHuman();
    }
}
